package com.gzbugu.bugusys.vo;

import java.util.Date;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.gzbugu.bugusys.vo.abs.AbstractStaff;

/**
 * Staff entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "staff", catalog = "bugusys")
public class Staff extends AbstractStaff implements java.io.Serializable {

	// Constructors

	/** default constructor */
	public Staff() {
	}

	/** minimal constructor */
	public Staff(String staffId) {
		super(staffId);
	}

	/** full constructor */
	public Staff(String staffId, User user, Integer sex, String name,
			String idnumber, String department, String post, Date hiredate,
			String formername, String birthplace, String nation, Date birthday,
			String politicsStatus, String tel, String nativePlace,
			String address, String zip, String graduateSchool,
			String education, String photoUrl,
			Set<ContractService> contractServices,
			Set<StaffExperience> staffExperiences,
			Set<StaffCertificate> staffCertificates, Set<Travel> travels,
			Set<Reimburse> reimburses, Set<StaffDocuments> staffDocumentses,
			Set<StaffFamily> staffFamilies, Set<Attendance> attendances,
			Set<StaffEducation> staffEducations) {
		super(staffId, user, sex, name, idnumber, department, post, hiredate,
				formername, birthplace, nation, birthday, politicsStatus, tel,
				nativePlace, address, zip, graduateSchool, education, photoUrl,
				contractServices, staffExperiences, staffCertificates, travels,
				reimburses, staffDocumentses, staffFamilies, attendances,
				staffEducations);
	}

}
